package com.itcast.health.pojo;

import java.io.Serializable;

public class Exercise implements Serializable {
    private Integer id;//主键
    private String code;//运动编码
    private String name;//运动名称
    private String sex;//适用性别
    private String strength;//适用强度
    private String age;//适用年龄
    private String time;//运动时间
    private String frequency;//运动频率
    private Double kilo_step_equivalent;//千步当量
    private String part;//运动部位
    private String method;//运动方法
    private Integer minAge;//最小年龄
    private Integer maxAge;//最大年龄
    private String attention;//注意事项

    public Exercise() {
    }

    public Exercise(String code, String name, String sex, String strength, String time, String frequency, Double kilo_step_equivalent, String part, String method, Integer minAge, Integer maxAge, String attention) {
        this.code = code;
        this.name = name;
        this.sex = sex;
        this.strength = strength;
        this.time = time;
        this.frequency = frequency;
        this.kilo_step_equivalent = kilo_step_equivalent;
        this.part = part;
        this.method = method;
        this.minAge = minAge;
        this.maxAge = maxAge;
        this.attention = attention;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getStrength() {
        return strength;
    }

    public void setStrength(String strength) {
        this.strength = strength;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getFrequency() {
        return frequency;
    }

    public void setFrequency(String frequency) {
        this.frequency = frequency;
    }

    public Double getKilo_step_equivalent() {
        return kilo_step_equivalent;
    }

    public void setKilo_step_equivalent(Double kilo_step_equivalent) {
        this.kilo_step_equivalent = kilo_step_equivalent;
    }

    public String getPart() {
        return part;
    }

    public void setPart(String part) {
        this.part = part;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public Integer getMinAge() {
        return minAge;
    }

    public void setMinAge(Integer minAge) {
        this.minAge = minAge;
    }

    public Integer getMaxAge() {
        return maxAge;
    }

    public void setMaxAge(Integer maxAge) {
        this.maxAge = maxAge;
    }

    public String getAttention() {
        return attention;
    }

    public void setAttention(String attention) {
        this.attention = attention;
    }
}
